import ReactDOMServer from "react-dom/server";

const html = ReactDOMServer.renderToString(
  <ul>
    <li>one</li>
    <li>two</li>
  </ul>
)

function Server() {
  return (
    <div dangerouslySetInnerHTML={{ __html: html }}>
    </div>
  );
}

export default Server;
